package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

/**
 * @author 李月
 * @date 2022/4/13 20:24
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User {
    @TableId(value = "user_id", type = IdType.AUTO)
    int user_id;
    String phone_number;
    String password;
    String salt;
    String career;
    String school;
    String nickname;
    String sex;
    Date birthday;
    String education;
    int deleted;
}
